/*
 * WidgetClickeableWithText.h
 *
 *  Created on: Apr 21, 2012
 *      Author: gonzalo
 */

#ifndef WIDGETCLICKEABLEWITHTEXT_H_
#define WIDGETCLICKEABLEWITHTEXT_H_

#include "WidgetClickeable.h"
#include "widgets/Label.h"

class WidgetClickeableWithText : public WidgetClickeable {
public:
	WidgetClickeableWithText(std::string text,std::string path,int posX, int posY, Widget* parent);
	WidgetClickeableWithText(std::string text,Color color,int width, int height,int posX, int posY, Widget* parent);
	virtual ~WidgetClickeableWithText();

	virtual void showOn(SDL_Surface* surface);
	std::string getText();

protected:
	std::string text;
	Label* label;
};

#endif /* WIDGETCLICKEABLEWITHTEXT_H_ */
